package com.zhentao.service;

import com.zhentao.model.common.dtos.PermissionResult;
import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.pojo.market.ChargeCoupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.pojo.market.ChargeCouponCondition;
import com.zhentao.model.pojo.market.ChargeCouponParam;
import com.zhentao.model.pojo.market.dto.ChargeAdminCouponDto;
import com.zhentao.model.pojo.market.dto.ChargeAdminMarker;

import java.util.List;

/**
* @author Wl177
* @description 针对表【charge_coupon】的数据库操作Service
* @createDate 2024-12-23 15:44:19
*/
public interface ChargeCouponService extends IService<ChargeCoupon> {

    ResponseResult chargeCouponList(ChargeCouponParam param);

    ResponseResult addUserCoupon(ChargeCoupon coupon);

    ResponseResult updateBatchByIdCouponStatus(List<Integer> couponIds);

    PermissionResult AdminMarketAll(ChargeAdminMarker chargeAdminMarker);

    PermissionResult AdminMarkeyAdd(ChargeAdminCouponDto condition);

    PermissionResult AdminMarkeyUpdate(ChargeAdminCouponDto condition);

    PermissionResult AdminMarkeyDelete(ChargeCoupon chargeCoupon);
}
